import 'dart:collection';

class MatchModifyDataModel {
  int? matchId;
  int? clubId;
  String? courtName;
  String? matchStartTime;
  String? matchEndTime;
  String? siteFees;
  String? matchRulesValue;
  String? matchRulesName;
  int? matchNumberParticipants;
  String? isPunishment;
  String? remark;
  String? jerseyColor;
  String? opponent;

  MatchModifyDataModel(
      {this.matchId,
      this.clubId,
      this.courtName,
      this.matchStartTime,
      this.matchEndTime,
      this.siteFees,
      this.matchRulesValue,
      this.matchRulesName,
      this.matchNumberParticipants,
      this.isPunishment,
      this.remark,
      this.jerseyColor,
      this.opponent});

  MatchModifyDataModel.fromJson(Map<String, dynamic> json) {
    matchId = json['matchId'];
    clubId = json['clubId'];
    courtName = json['courtName'];
    matchStartTime = json['matchStartTime'];
    matchEndTime = json['matchEndTime'];
    siteFees = json['siteFees'];
    matchRulesValue = json['matchRulesValue'];
    matchRulesName = json['matchRulesName'];
    matchNumberParticipants = json['matchNumberParticipants'];
    isPunishment = json['isPunishment'];
    remark = json['remark'];
    jerseyColor = json['jerseyColor'];
    opponent = json['opponent'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = HashMap();
    data['matchId'] = matchId;
    data['clubId'] = clubId;
    data['courtName'] = courtName;
    data['matchStartTime'] = matchStartTime;
    data['matchEndTime'] = matchEndTime;
    data['siteFees'] = siteFees;
    data['matchRulesValue'] = matchRulesValue;
    data['matchRulesName'] = matchRulesName;
    data['matchNumberParticipants'] = matchNumberParticipants;
    data['isPunishment'] = isPunishment;
    data['remark'] = remark;
    data['jerseyColor'] = jerseyColor;
    data['opponent'] = opponent;
    return data;
  }
}